package HomeWork;

import java.util.Scanner;

public class Wan {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        int a= scanner.nextInt();
        int sum=0;
        for (int i = 1; i <a ; i++) {
            if (a%i==0){
                sum+=i;
            }
          }
          if(sum==a) { System.out.println(a+"是完整数"); }
          else{ System.out.println(a+"不是完整数"); }
    }
}

